package algorithm;

import java.io.File;

public class Main {
	public static void main(String [] args){
		LongestSubsequence l = new LongestSubsequence();
		int [] arr ={4, -3, 5, -2, -1, 2, 6, -2};
		int [] arr2 = {1,-2, -11, -4, 13, -5, -2};
		int max = l.maxSubSum4(arr2);
		System.out.println(l.getBegin());
		System.out.println(l.getEnd());
		System.out.println(max);
		
		/*File file = new File("D://Num//random-500To499.txt");
		LongestSubsequence longest = new LongestSubsequence(file);
		System.out.println(longest.getBegin());
		System.out.println(longest.getEnd());
		System.out.println(longest.getMaxSum());*/
	}
}
